projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d4d577
)
Fix noninteractive gnus-article-press-button
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 8 Feb 2021 06:11:52 +0000
(07:11 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 8 Feb 2021 06:11:52 +0000
(07:11 +0100)
* lisp/gnus/gnus-art.el (gnus-article-press-button): Make the `b'
summary mode command work again.
lisp/gnus/gnus-art.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-art.el
b/lisp/gnus/gnus-art.el
index 70ededf1ba18c9cc8e6784ee8e8d06c7df685f1c..7ded9e40e9918d4ef49997d481af339d1070fbca 100644
(file)
--- a/
lisp/gnus/gnus-art.el
+++ b/
lisp/gnus/gnus-art.el
@@
-7894,7
+7894,8
@@
If the text at point has a `gnus-callback' property,
call it with the value of the `gnus-data' text property."
(interactive (list last-nonmenu-event))
(save-excursion
- (mouse-set-point event)
+ (when event
+ (mouse-set-point event))
(let ((fun (get-text-property (point) 'gnus-callback)))
(when fun
(funcall fun (get-text-property (point) 'gnus-data))))))